import BaseService from '../BaseService'
import factory from '../serviceFactory'

class EtermService extends BaseService {
  /**
   * 获取BSP和BOP组列表
   * queryAllGroupList()
   */
  queryAllGroupList = factory.makeGet('/api/eterm/queryAllGroupList')

  /**
   * 执行黑屏指令
   * executeCmd({cmd})
   */
  executeCmd = factory.makePost('/api/eterm/executeCmd', {successW: false, failedW: false})
}

export default new EtermService()
